//
//  CcNoDataView.h
//  新项目
//
//  Created by 刘耀宗 on 2016/11/21.
//  Copyright © 2016年 刘耀宗. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CcNoDataView : UIView
+(instancetype)shareNoDataView;
@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) UILabel *label;
@property (nonatomic, strong) UILabel *label1;
@property (nonatomic, strong) UIButton *btn;
@property (nonatomic, copy) void(^myBlock)() ;
// 数组   当前控制器的view  无数据页面view
-(void)dataIsEmpty:(NSArray *)arr withView:(UIView *)view  andNoDataView:(CcNoDataView *)nodataView andRect:(CGRect) rect andBtnHiddne:(BOOL)hid;
//没有网络
-(void)noNetwithView:(UIView *)view  andNoDataView:(CcNoDataView *)nodataView andRect:(CGRect) rect andBtnHiddne:(BOOL)hid;
@end
